package dog;

/**
 * @author DCSGO
 * @version 1.0
 */
public class Dog {
    public String name;
    private int weight;

    public Dog() {
        name = "旺财";
        weight = 10;
    }

    public Dog(String name) {
        this.name = name;
    }

    public void hi() {
        System.out.println(name + "汪汪叫~");
    }
}
